package com.naiterui.ehp.bs.b2c.address.vo;

import java.io.Serializable;
import java.util.List;

import lombok.Builder;
import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author guoyongxiang
 * @date 2019-01-12 11:53
 * @since 1.0.0
 */
@Data
@Builder
public class CityVO implements Serializable {

    private static final long serialVersionUID = -2503557519215816086L;

    @ApiModelProperty(value = "城市ID")
    private Long id;

    @ApiModelProperty(value = "城市ID")
    private String name;

    @ApiModelProperty(value = "上级城市ID")
    private Long parentId;

    @ApiModelProperty(value = "子城市列表")
    private List<CityVO> childs;


}
